<admintpl file="header" />
</head>
<body>
<div class="wrap js-check-wrap">
    <ul class="nav nav-tabs">
        <li class="active"><a href="{:U('Company/service_list')}">留言列表</a></li>
    </ul>
    <table class="table table-hover table-bordered">
        <thead>
        <tr>
            <th width="30px;">排序</th>
            <th width="100px;">姓名</th>
            <th width="180px;">电话</th>
            <th>内容</th>
            <th width="200">操作</th>
        </tr>
        </thead>
        <tbody>
        <foreach name="info" key="k" item="vo">
            <tr>
                <td>{$k+1}</td>
                <td>{$vo.user_name}</td>
                <td>{$vo.phone}</td>
                <td>{$vo.content}</td>
                <td>
                    <a  href="{:U('Company/edit_list',array('id'=>$vo['id']))}">编辑</a> |
                    <a class="js-ajax-dialog-btn" data-msg="{:L('您要确定该操作吗？')}" href="{:U('Company/del_list',array('id'=>$vo['id']))}">删除</a>
                </td>
            </tr>
        </foreach>
        </tbody>
    </table>
    <div class="pagination">{$page}</div>
</div>
<script type="text/javascript" src="__PUBLIC__/js/laydate/laydate.js"></script>
<script src="__PUBLIC__/js/common.js"></script>

<script >

    function finish(id) {
        if(confirm("确定拒绝要求吗并将订单改成完成状态吗？")){
            window.location.href = "__CONTROLLER__/status/id/"+id+"/status/5";
        }
    }

</script>
</body>
</html>